package com.itheim.client.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.itheim.client.pojo.OrderDetail;
import lombok.Data;

import java.util.List;

/**
 * @Author longbosheng
 * @Date 2022/6/18 20:43
 * @PackageName:com.itheima.pojo
 * @ClassName: OrderDto
 * @Description: TODO
 * @Version 1.0
 */
@Data
@TableName("`order`")
public class OrderVo {
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;
    @TableField(value = "order_time",fill = FieldFill.INSERT)
    private String orderTime;
    private int status;
    private String amount;
    @TableField(exist = false)
    private List<OrderDetailVo> orderDetails;
}

